package com.ch.clinking.ViewHolder;

import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TableLayout;
import android.widget.TextView;

import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;

import com.ch.clinking.R;

public class MerListViewHolder extends RecyclerView.ViewHolder {

    public ImageView merImg;
    public TextView merTitle,merSKCId,merSPUId,productNum;
    public TableLayout tableLayout;
    public ViewGroup listMerItemContainer;
    public Button oderMake;
    public LinearLayout circleContainer;

    public MerListViewHolder(@NonNull View itemView) {
        super(itemView);
        merImg = itemView.findViewById(R.id.list_spu_img);
        merTitle = itemView.findViewById(R.id.list_spu_title);
        merSKCId = itemView.findViewById(R.id.list_skc_id);
        merSPUId = itemView.findViewById(R.id.list_spu_id);
        productNum = itemView.findViewById(R.id.list_SKC_product_num);
        tableLayout = itemView.findViewById(R.id.stock_table);
        listMerItemContainer = itemView.findViewById(R.id.list_mer_item_container);
        oderMake = itemView.findViewById(R.id.oder_make);
        circleContainer = itemView.findViewById(R.id.mer_order_circle_tag_container);
    }
}
